package org.project.single.pojo.ro.menu;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Getter
@Setter
public class AuthMenuRo {
    /**
     * 角色code
     */
    @NotEmpty(message = "roleCode不能为空")
    private String roleCode;

    /**
     * 菜单code列表
     */
    @NotEmpty(message = "menuCodeList不能为空")
    private List<String> menuCodeList;
}
